body{
	 margin:0;
	 padding:0;
}

#main{
	 width: 1100px;
	 height: 800px;
	 margin:0 auto;
}

#header{
     background-color:#6699CC;
     color:white;
     padding:15px;
     width: 1070px;
     height: 70px;   
}
h1{float:left;}
.box1{
     border:1px;
	 width:100px;
	 height:100px;
	 background-color:#87CEEB;
	 float:left;
	 margin-top:-15px;
	 margin-left:10px;
}/*定义高级管理，历史记录，其它的div*/
.user{
	 margin-left: 100px;
	 margin-top:30px;
     float: left;
}
.img-font{
	  float: left;
	 margin-top:35px;
	 margin-left:10px;
}/*图片到文字的距离*/
.font-img{
	 float: left;
	 margin-top:30px;
	 margin-left:50px;
}/*文字到图片的距离*/

#left{
	 float: left;
     width:300px;
     height:700px;
     border:1px solid #666666;
	 word-spacing:0px;
}
.an{
	 color:white;
	 padding-top: 4px;
     font-size:24px;
	 width:300px;
	 height:35px;
	 background-color:#6699CC;
}/*定义按柜子，按类型的div*/
.jiajian{
	 margin-left:260px;
	 margin-top:-28px;
}/*定义加减图片的div*/
.dianronggui{
	 background-color:#CCFFFF;
	 line-height:30px;
}/*电容器一行等排列*/

#right{
	 float:right;
      width:796px;
     height:700px;
     border:1px solid #666666; 
	 word-spacing:0px;
}
.box2{
   	 color:white;
	 width:100px;
	 height:30px;
	 background-color:#6699CC;
	 float: left;
	 margin-top: 5px;
	 margin-left: 5px;
	 text-align:center;
	 padding-top: 10px;
}/*定义柜子、元器件、用户管理等div*/

.tianjia{
	 color:white;
	 width:60px;
	 height:25px;
	 background-color:#6699CC;
	 margin-top:10px;
	 text-align:center;
	 padding-top: 10px;
}
table{
	 border-collapse:collapse;
     width:100%;
}
th{
     height:40px;
}  
td{
     text-align:center;
     height:30px;
}

#footer {
     background-color:#E6E6FA;
     clear:both;
     text-align:center;
     width:1070px;
	 height:20px;
     padding: 15px;
}